package redis_config

type RedisConfig struct {
	Host     string
	FullHost string
	Passwd   string
	port     int
}

//var Env string = "test"
var R1 RedisConfig

func GetRedisConf(Env string) RedisConfig {
	if Env == "online" {
		R1.FullHost = "10.8.121.199:6382"
		R1.Passwd = "ansibleapi"
	} else {
		R1.FullHost = "10.0.0.31:6379"
		R1.Passwd = "ansibleapi"
	}
	return R1
}
